package com.cjjd.c.bean.subscribe;

import android.text.TextUtils;

import com.cjjd.c.bean.BaseBean;

/**
 * ----------------------------------
 * Created by xyd on 2017/12/21.
 * <p/>
 * 描  述：
 * <p/>
 * 修订历史:
 * ----------------------------------
 */

public class DiffAmountBean extends BaseBean {
    private String balanceMoney;

    public double getBalanceMoney() {
        if (TextUtils.isEmpty(balanceMoney)) {
            return 0;
        }

        try {
            return Double.parseDouble(balanceMoney);
        } catch (NumberFormatException e) {
            e.printStackTrace();
            return 0;
        }
    }
}
